<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <form th:action="@{/login}" >
        <input type="hidden" th:value="${url}" name="redirect_url"> <!--隐藏域，将url放进去，提交表单的时候会把url也提交-->
        用户名：<input type="text" ><br />
        密&emsp;码：<input type="password" ><br />
        <input type="submit" value="登录"/>
    </form>
</body>
</html>
